package com.md.drcs.dicom.req;

import com.md.common.exception.BaseErrorCode;
import com.md.common.utils.validate.SaveValidator;

import javax.validation.constraints.NotNull;

public class AddUserPatientReq {

    @NotNull(message = "#" + BaseErrorCode.INVALID_DATA, groups = SaveValidator.class)
    private Integer userId;

    @NotNull(message = "#" + BaseErrorCode.IS_NULL, groups = SaveValidator.class)
    private String hospitalId;

    @NotNull(message = "#" + BaseErrorCode.IS_NULL, groups = SaveValidator.class)
    private String name;

    @NotNull(message = "#" + BaseErrorCode.IS_NULL, groups = SaveValidator.class)
    private String code;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
